home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / TinyGL / ami / content / ad709 / tinygl / src / zfeatures.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-08-15  |  1.3 KB  |  44 lines

  1. #ifndef _tgl_features_h_
  2. #define _tgl_features_h_
  3.  
  4. /* It is possible to enable/disable (compile time) features in this
  5.    header file. */
  6.  
  7. #define TGL_FEATURE_ARRAYS         1
  8. #define TGL_FEATURE_DISPLAYLISTS   1
  9. #define TGL_FEATURE_POLYGON_OFFSET 1
  10.  
  11. /*
  12.  * Matrix of internal and external pixel formats supported. 'Y' means
  13.  * supported.
  14.  * 
  15.  *           External  8    16    24    32
  16.  * Internal 
  17.  *  15                 .     .     .     .
  18.  *  16                 Y     Y     Y     Y
  19.  *  24                 .     Y     Y     .
  20.  *  32                 .     Y     .     Y
  21.  * 
  22.  *
  23.  * 15 bpp does not work yet (although it is easy to add it - ask me if
  24.  * you need it).
  25.  * 
  26.  * Internal pixel format: see TGL_FEATURE_RENDER_BITS
  27.  * External pixel format: see TGL_FEATURE_xxx_BITS 
  28.  */
  29.  
  30. /* enable various convertion code from internal pixel format (usually
  31.    16 bits per pixel) to any external format */
  32. #define TGL_FEATURE_16_BITS        1
  33. #define TGL_FEATURE_8_BITS         1
  34. #define TGL_FEATURE_24_BITS        1
  35. #define TGL_FEATURE_32_BITS        1
  36.  
  37.  
  38. //#define TGL_FEATURE_RENDER_BITS    15
  39. #define TGL_FEATURE_RENDER_BITS    16
  40. //#define TGL_FEATURE_RENDER_BITS    24
  41. //#define TGL_FEATURE_RENDER_BITS    32
  42.  
  43. #endif /* _tgl_features_h_ */
  44.